﻿
using NSQLObjects.Persistence;

namespace NSQLObjectsTests
{
    internal static class DefaultSetup
    {
        private static bool fConnected = false;
        
        internal static void Connect() {
            if (fConnected)
                return;
            fConnected = true;
            SqlDataContext.SetDefaultConnection(@"Data Source=.\sqlexpress;Initial Catalog=NSQLObjectsTestDB;Integrated Security=True");
        }
    }
}
